package com.ssy.lingxi.platform.manage.service;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.api.model.dto.secret.CheckPasswordDTO;
import com.ssy.lingxi.platform.manage.api.model.vo.secret.SecretKeyVO;

/**
 * 采购需求单密钥管理
 */
public interface SecretKeyService {

    /**
     * 查询秘钥
     */
    Wrapper<SecretKeyVO> getSecretKey(UserLoginCacheDTO sysUser);

    /**
     * 校验秘钥是否正确
     */
     Wrapper<Boolean> checkPassword(CheckPasswordDTO request);
}
